-- GENERATED SPELL FOR [Thunderhawk Cloudscraper] --


function spell0_3424(pUnit, Event) --@Thunderclap,Self--
pUnit:FullCastSpellOnTarget(8078,pUnit)
pUnit:RegisterEvent('Sorts_3424', 10252, 1)
end

function Sorts_3424(pUnit, Event)
local choix_sorts_3424 = math.random(0, 0)
if choix_sorts_3424 == 0 then
pUnit:RegisterEvent('spell0_3424', 1, 1)
end
end

function mob3424_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3424', math.random(1500, 3000), 1)
end

function mob3424_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3424_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3424_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3424, 1, 'mob3424_Action')
RegisterUnitEvent(3424, 2, 'mob3424_Leave')
RegisterUnitEvent(3424, 3, 'mob3424_Kill')
RegisterUnitEvent(3424, 4, 'mob3424_Die')
